<?= Form::open(Controller_Helper_Url::url_query(array('searchtext'=>'')), array('method'=>'get')) ?>
<div class="searchtable">
    <input value="<?= Arr::get($_GET,'searchtext') ?>" type="text" name="searchtext" placeholder="Search here..."><button class="tip-right" type="submit" data-original-title="Search"><i class="icon-search"></i></button>
    <?= Form::hidden('sort_by', Arr::get($_GET,'sort_by')) ?>
    <?= Form::hidden('sort_dir', Arr::get($_GET,'sort_dir')) ?>
    <?= Form::hidden('size', Arr::get($_GET,'size')) ?>
    <?= Form::hidden('type', Arr::get($_GET,'type')) ?>
    <?= Form::hidden('id', Arr::get($_GET,'id')) ?>
    <?= Form::hidden('iframe', Arr::get($_GET,'iframe')) ?>
</div>
<?= Form::close() ?>